package com.whq.knowverywell.util.constant;


/**
 * 跟数据结构相关的常量
 * @author wanghuaiqiang
 *
 */
public class ModelConstant {
    /**
     * 上传文件类型：图片
     */
    public static final int UPLOAD_FILE_TYPE_IMAGE = 1;

    public static final int STATUS_VALID = 1;

    public static final int STATUS_INVALID = 0;

    
    // 查询时间粒度：昨天
    public static final int DURATION_TYPE_YESTERDAY = 1;
    // 查询时间粒度：今天
    public static final int DURATION_TYPE_TODAY = 2;
    // 查询时间粒度：当月
    public static final int DURATION_TYPE_MONTH = 3;
    // 查询时间粒度：当年
    public static final int DURATION_TYPE_YEAR = 4;
    
    // 业务类型：汇总统计
    public static final int BUSINESS_TYPE_SUMMARY = 1;
    // 业务类型：地域分析
    public static final int BUSINESS_TYPE_DOMAIN = 2;
    // 业务类型：品类分析
    public static final int BUSINESS_TYPE_SORT = 3;
    // 业务类型：货品查询
    public static final int BUSINESS_TYPE_GOODS = 4;
    // 业务类型：热销查询
    public static final int BUSINESS_TYPE_HOTSELL = 5;

    // 页面类型：内容总览
    public static final int FRAGEMENT_TYPE_CONTENT = 1;
    // 页面类型：明细
    public static final int FRAGEMENT_TYPE_DETAIL = 2;

	public static final String ORDER_BY_SALES_VOLUME_ASC 	= "salesVolume-asc";

	public static final String ORDER_BY_SALES_VOLUME_DESC 	= "salesVolume-desc";

	public static final String ORDER_BY_SALES_AMOUNT_ASC 	= "salesAmount-asc";

	public static final String ORDER_BY_SALES_AMOUNT_DESC 	= "salesAmount-desc";
    
}
